<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#0858A2;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
		<?php  $this->Form->cuenta($this->Access->getMy('id'));?>	
	<div class="desplegable">
		<?php  $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="users form">
<?php echo $this->Form->create('User');?>
	<fieldset>
		<legend><?php __('Agregar Usuario'); ?></legend>
		<table class="tabla_formulario">
			<tr>
				<td colspan="2"><?php echo $this->Form->input('nombre');?></td>
			</tr>
			<tr>
				<td colspan="2"><?php echo $this->Form->input('apellido');?></td>
			</tr>		
			<tr>
				<td colspan="2"><?php echo $this->Form->input('username');?></td>
			</tr>
			<tr>
				<td colspan="2"><?php echo $this->Form->input('password');?></td>
			</tr>
			<tr>
				<td colspan="2"><?php echo $this->Form->input('correo');?></td>			
			</tr>
			<tr>
				<td><?php echo $this->Form->input('group_id',array('label'=>'Grupo'));?></td>
				<td><?php echo $this->Form->input('EntidadesTerritoriale');?></td>
			</tr>
		</table>
	</fieldset>
<?php echo $this->Form->end(__('Guardar', true));?>
</div>
